#pragma once
#include "InitOgreApp.h"
#include "InitKinectApp.h"
#include "Aquarium.h"

#include <OISEvents.h>
#include <OISInputManager.h>
#include <OISKeyboard.h>

class AquariumApp : public InitOgreApp , public InitKinectApp
{
private:
	Aquarium* m_Aquarium;

	//OIS Input devices
	OIS::InputManager* m_InputManager;
	OIS::Keyboard* m_Keyboard;
public:
	AquariumApp(void);
	~AquariumApp(void);

	void Init();
	void Render();
	void SetLight();
private:
	void InitKeyboard();
	void UpdateKeyboard();//Trigger Key Event 
private://Over write
	bool frameRenderingQueued( const Ogre::FrameEvent &_evt );
	void windowClosed(Ogre::RenderWindow* rw);
};